![]() |
Note
The introduction of deep masks means that you cannot simply draw over an icon and assume the previous icon will be erased. Call the function IconRefToRgn to determine the area occupied by the current icon, erase that area, then draw the new icon.